
const config = {
  DATABASE: "allposter-manage", //数据库名称
  USERNAME: process.env.npm_lifecycle_event === "dev" ? "root" : "root1", //mysql用户名
  PASSWORD: "root", //mysql密码
  PORT: "3306", //mysql端口号
  HOST: "localhost", //服务器ip
};

const secret = "weiorn2p3e1qweqqweq"
const accessTokenTimer = 1000 * 10 + ''
const refreshTokenTimer = 1000 * 60 * 60 * 24 * 15 + ''

module.exports = {
  config,
  secret,
  accessTokenTimer,
  refreshTokenTimer
}